package controller

import (
	"github.com/labstack/echo/v4"
)

type Controller struct {
	Path        string
	HandlerFunc echo.HandlerFunc
}

func NewController(path string, handler echo.HandlerFunc) *Controller {
	return &Controller{path, handler}
}

func (c *Controller) Bind() (string, echo.HandlerFunc) {
	return c.Path, c.HandlerFunc
}
